package com.itchen.dao.impl;

import com.itchen.dao.UserDao;

/**
 * @author げっしょく
 * @date 2021/9/7
 */
public class UserDaoImpl implements UserDao {

    private int i;

    //构造器注入的简单类型
    public UserDaoImpl(int i) {
        this.i = i;
    }


/*
    setter注入的简单类型
    public void setI(int i) {
        this.i = i;
    }*/

    public void save() {
        System.out.println("UserDao save ..." + i);
    }
}
